﻿@model RecruitmentPage.Models.RPModel.Account
@{
    ViewBag.Title = "Login";
}

<div id="loginform" class="col-md-7" style="min-height:500px">
    <h3>Login</h3>
    <form class="form-horizontal" action="login" method="post">        
        <div class="form-group">
            <label for="inputEmail" class="control-label col-xs-3">Email</label>
            <div class="col-xs-9">
                @Html.TextBoxFor(u => u.Email, new { @class = "form-control", @placeholder = "Email", @type = "email", @id = "inputEmail" })
            </div>
        </div>
        <div class="form-group">
            <label for="inputPassword" class="control-label col-xs-3">Password</label>
            <div class="col-xs-9">
                @Html.TextBoxFor(u => u.Password, new { @class = "form-control", @placeholder = "Password", @type = "password", @id = "inputPassword" })
            </div>
        </div>
        
            <div class="form-group">
                <label class="control-label col-xs-3"></label>
                <div class="col-xs-9">
                    <button class="btn btn-primary" type="submit" value="Login">Login</button>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-3"></label>
                <div class="col-xs-9">
                    <a href="/Home/Register">Create new account</a> |
                    <a href="#">Forgot password</a>
                </div>

            </div>
        <div class="form-group">
            <label class="control-label col-xs-3"></label>
            <div class="col-xs-9">
                @Html.ValidationSummary("", new { @DisplayMode = "SingleParagraph" })
            </div>
        </div>
</form>
</div>
<div class="col-md-5">
    @Html.Partial("_RegistrationProcess")
</div>
